#if !defined(AFX_DLGPATH_H__9687C7E2_D283_46B5_9020_34C1F0121EC9__INCLUDED_)
#define AFX_DLGPATH_H__9687C7E2_D283_46B5_9020_34C1F0121EC9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgPath.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgPath dialog
#include "BaseClass.h"
#include "../include/IniManager.h"

class CDlgPath : public CDialog,public CBaseClass
{
// Construction
public:
	CDlgPath(CWnd* pParent = NULL);   // standard constructor
	CIniManager ini;
	static CDlgPath* lpThis;
	void AddPathPoint(const pose& poseInfo);
	CArray<pose,pose&> arrPose;
	CArray<PathConfigItem,PathConfigItem&> m_arrLinePath;
	CArray<PathConfigItem,PathConfigItem&> m_arrPointPath;
	static DWORD WINAPI GetPoseCB(pose poseInfo,VOID* lpDlg);
	BOOL ReLoadInfo();
	BOOL SaveInfo();
	BOOL ShowDlg();
	BOOL HiddenDlg();
	BOOL IninDataInfo();
	BOOL SetDlgItemLanguage();
// Dialog Data
	//{{AFX_DATA(CDlgPath)
	enum { IDD = IDD_DLG_Path };
	CListCtrl	m_listPoints;
	CComboBox	m_comboxLine;
	CComboBox	m_comboxPoint;
	int		m_iTimeNumber;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlgPath)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgPath)
	afx_msg void OnBTNPointPathAdd();
	afx_msg void OnBTNGetCurPoint();
	afx_msg void OnBTNPointPathDel();
	afx_msg void OnBTNPointPathRecord();
	afx_msg void OnBTNPointPathStop();
	afx_msg void OnBTNPointPathAddPoint();
	afx_msg void OnBTNPointPathDelPoint();
	afx_msg void OnBTNLinePathAdd();
	afx_msg void OnBTNLinePathDel();
	afx_msg void OnBTNLinePathRecord();
	afx_msg void OnBTNLinePathStop();
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeCOMBOPointPathName();
	afx_msg void OnSelchangeCOMBOLinePathName();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGPATH_H__9687C7E2_D283_46B5_9020_34C1F0121EC9__INCLUDED_)
